//封装承诺书和报名须知所需的网络请求
import { post } from '../ck/plugin/axios'

class Covenant {
  //新增和修改接口
  static async addAndEdit ({
    Commitments,
    Instructions,
    Status
  }) {
    return post('api/Manage/CommitmentsAndInstructions/ImproveCommitmentsAndInstructionsInformation', {
      Commitments,
      Instructions,
      Status
    })
  }

  //获取信息接口
  static  async getInfo(){
    return post('api/Manage/CommitmentsAndInstructions/SearchModelDetails')
  }
}

export default Covenant
